//
//  YLSelectPhotoCell.h
//  DEMOTest
//
//  Created by mac on 2020/5/9.
//  Copyright © 2020 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface TJSelectPhotoModel : NSObject

@property (assign, nonatomic) BOOL isAdd;
@property (assign, nonatomic) BOOL isShowDelete;
@property (strong, nonatomic, nullable) UIImage *image;
@property (copy, nonatomic) NSString *url;
@property (copy, nonatomic) NSString *completeUrl;


+ (instancetype)selectPhotoModel:(nullable UIImage *)image isAdd:(BOOL)Add isShowDelete:(BOOL)showDelete;

@end

@interface YLSelectPhotoCell : UICollectionViewCell

@property (strong, nonatomic) TJSelectPhotoModel *model;
@property (copy, nonatomic) void (^didClickDeleteButtonBlock)(void);

@end


NS_ASSUME_NONNULL_END
